package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.XgNoUseMapper;
import com.ruoyi.system.domain.XgNoUse;
import com.ruoyi.system.service.IXgNoUseService;

/**
 * 统计查询Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-10
 */
@Service
public class XgNoUseServiceImpl implements IXgNoUseService 
{
    @Autowired
    private XgNoUseMapper xgNoUseMapper;

    /**
     * 查询统计查询
     * 
     * @param id 统计查询主键
     * @return 统计查询
     */
    @Override
    public XgNoUse selectXgNoUseById(Long id)
    {
        return xgNoUseMapper.selectXgNoUseById(id);
    }

    /**
     * 查询统计查询列表
     * 
     * @param xgNoUse 统计查询
     * @return 统计查询
     */
    @Override
    public List<XgNoUse> selectXgNoUseList(XgNoUse xgNoUse)
    {
        return xgNoUseMapper.selectXgNoUseList(xgNoUse);
    }

    /**
     * 新增统计查询
     * 
     * @param xgNoUse 统计查询
     * @return 结果
     */
    @Override
    public int insertXgNoUse(XgNoUse xgNoUse)
    {
        return xgNoUseMapper.insertXgNoUse(xgNoUse);
    }

    /**
     * 修改统计查询
     * 
     * @param xgNoUse 统计查询
     * @return 结果
     */
    @Override
    public int updateXgNoUse(XgNoUse xgNoUse)
    {
        return xgNoUseMapper.updateXgNoUse(xgNoUse);
    }

    /**
     * 批量删除统计查询
     * 
     * @param ids 需要删除的统计查询主键
     * @return 结果
     */
    @Override
    public int deleteXgNoUseByIds(Long[] ids)
    {
        return xgNoUseMapper.deleteXgNoUseByIds(ids);
    }

    /**
     * 删除统计查询信息
     * 
     * @param id 统计查询主键
     * @return 结果
     */
    @Override
    public int deleteXgNoUseById(Long id)
    {
        return xgNoUseMapper.deleteXgNoUseById(id);
    }
}
